package com.ruoyi.edge.rule.service;

import com.ruoyi.common.core.domain.R;
import com.ruoyi.common.mybatis.core.page.PageQuery;
import com.ruoyi.common.mybatis.core.page.TableDataInfo;
import com.ruoyi.edge.rule.domain.RuleInfo;

/**
 * 计算规则基本信息
 */
public interface RuleInfoService {

    TableDataInfo<RuleInfo> listPage(RuleInfo ruleInfo, PageQuery pageQuery);

    R<RuleInfo> get(String id);

    R<String> add(RuleInfo ruleInfo);

    R<String> edit(RuleInfo ruleInfo);

    R<String> remove(String id);

}
